<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>老司机保险</title>
    <script type="text/javascript" src="/static/js/plugins/jquery.min.js"></script>
    <link rel="stylesheet" href="/static/loginJS/style.css">
    <script type="text/javascript" src="/static/loginJS/jquery.validate.min.js"></script>
    <script type="text/javascript" src="/static/loginJS/common.js"></script>
    <script type="text/javascript" src="/static/loginJS/supersized.3.2.7.min.js"></script>
    <script type="text/javascript" src="/static/loginJS/supersized-init.js"></script>
    <script type="text/javascript">
        function login() {
            $.post('/login.do', $('form').serialize(), function (data) {
                var data = $.parseJSON(data);
                if (data.success) {
                    window.location.href = '/main.do';
                } else {
                    alert(data.msg);
                }
            })
        }

        function reset() {
            $("form").reset();
        }
    </script>
</head>
<body>
<h1 style="color: #ffffff;position:relative;top:50px; font-size: 65px">老司机车险</h1>

<div class="connect" style="position:relative;top:100px;font-size: 16px">
    <p>客户管理:杨栩臻 保单管理:刘日升 理赔管理:李狄龙&杨晓鹏</p>
    <p>支付模块:邓子苇 系统模块:褚海良 信息管理:韩棋韬</p>
</div>

<section class="container" s>
    <div class="login">
        <form method="post">
            <p><input type="text" name="username" value="admin" placeholder="账号" style="position:relative;top:100px;background-color: rgba(152,153,153,0.82)">
            </p>
            <p><input type="password" name="password" value="1" placeholder="密码" style="position:relative;top:100px;background-color: rgba(152,153,153,0.82)">
            </p>
            <p class="submit" style="position:relative;top:100px;">
                <input type="button" style="cursor:pointer;font-weight: 800;background-color: rgba(255,74,9,0.82)" value="登录" onclick="login()">
                <input type="button" style="cursor:pointer;font-weight: 800;background-color: rgba(255,74,9,0.82)" value="重置" onclick="reset()">
            </p>
        </form>
    </div>
</section>
</body>
</html>